package com.xmb.wcapi.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xmb.wcapi.entity.Department;
import com.xmb.wcapi.entity.SysConfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 配置 Mapper 接口
 * </p>
 *
 * @author huangping
 * @since 2024-05-28
 */
public interface MesDepMapper extends BaseMapper<Department> {

    @DS("db2")
    List<Department> getMesDepList(Page<?> page,@Param("depName") String depName);

}
